package com.jiasongfan.service;

import com.github.pagehelper.PageInfo;
import com.jiasongfan.entity.Menu;
import com.jiasongfan.entity.QueryVO;
import com.jiasongfan.entity.TbOrder;
import com.jiasongfan.entity.TbUser;

import java.util.List;

public interface OrderService {
    TbUser login(TbUser tbUser);

    PageInfo<TbOrder> list(QueryVO vo, int pageNum, int pageSize);

    void add(TbOrder tbOrder);

    TbOrder selectById(Long oid);

    void update(TbOrder tbOrder);

    void register(TbUser tbUser);

    List<Menu> getTree(TbUser user);
}
